<%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE html>
    <html>

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>




    </head>

    <body>
        <form action="">
            请选择图片：<input id="myfile" name="myfile" type="file" />
            <div id="previewImg"></div>
        </form>
        <hr>
        <h1>图片预览</h1>
        <p><img id="largeImg" src="images/img1-lg.jpg" alt="Large Image" /></p>
        <p class="thumbs">

        </p>
        <script type="text/javascript">
        </script>
    </body>

    </html>